From: GNU Libc Maintainers Date: Sun, 1 Mar 2026 20:10:06 +0000 (+0100) Subject: unsubmitted-ldso-multilib X-Git-Tag: archive/raspbian/2.41-12+rpi1+deb13u2^2~61 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:tmurad%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:tmurad%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=2fe99c865f6dcc83118faef3269f5db1a7612ac4;p=glibc.git unsubmitted-ldso-multilib Gbp-Pq: Topic arm Gbp-Pq: Name unsubmitted-ldso-multilib.diff --- diff --git a/elf/dl-load.c b/elf/dl-load.c index 7b21f1dff..7647c907b 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1646,6 +1646,17 @@ open_verify (const char *name, int fd, __set_errno (ENOENT); return -1; } +#ifdef __arm__ + else if (!VALID_FLOAT_ABI (ehdr->e_flags)) + { + /* This is not a fatal error. On architectures where + soft-float and hard-float binaries can be run this + might happen. */ + __close_nocancel (fd); + __set_errno (ENOENT); + return -1; + } +#endif else if (ehdr->e_ident[EI_DATA] != byteorder) { if (BYTE_ORDER == BIG_ENDIAN)